<!--
 * @Description: 
 * @Version: 2.0
 * @Autor: snzo.chen
 * @Date: 2023-11-16 11:14:16
 * @LastEditors: snzo.chen
 * @LastEditTime: 2023-12-20 17:18:38
-->
<script setup lang="ts">
import zhCN from 'ant-design-vue/es/locale/zh_CN';
import { ref } from 'vue';
const locale = ref(zhCN);
</script>

<template>
  <a-config-provider :locale="locale">
    <router-view v-slot="{ Component }">
      <KeepAlive>
        <component :is="Component" />
      </KeepAlive>
    </router-view>
    <!-- <KeepAlive>
      <RouterView></RouterView>
    </KeepAlive> -->
  </a-config-provider>
</template>

<style scoped></style>
